package com.ogawa.base.callback;


import com.ogawa.base.network.BaseResponse;
import com.ogawa.base.network.bean.BeanStateInfo;

/**
 * 获取状态回调接口
 * Created by fhb on 2018/7/10.
 */
public interface GetStateCallback {

    /**
     * 成功的回调接口
     *
     * @param program
     */
    public void onGetStateSuccess(BaseResponse<BeanStateInfo> program);

    /**
     * 失败的回调接口
     */
    public void onStateFailure();

}
